package absfactory;

//第二种车的具体实现
public class Car2 implements ICar2 {
    @Override
    public void showBrand() {
        System.out.println("奔驰");
    }

    @Override
    public void showColor() {
        System.out.println("color : red");
    }
}
